package com.design.decorator;
/**
 * 具体构件角色
 * @Author:         cong zhi
 * @CreateDate:     2021/3/24 8:07
 * @UpdateUser:     cong zhi
 * @UpdateDate:     2021/3/24 8:07
 * @UpdateRemark:   修改内容
 * @Version:        1.0
 */
public class ConcreteComponent implements Component{

    public ConcreteComponent() {
        System.out.println("创建具体构件角色");
    }

    @Override
    public void operation() {
        System.out.println("调用具体构件角色的方法operation()");
    }
}
